package com.flca.frw.model
{
	import mx.collections.ArrayCollection;
	import mx.preloaders.DownloadProgressBar;
	
	import com.flca.frw.util.PrintUtil;
	import com.flca.frw.util.Hash;
	
	public class UserMaster 
	{
		public static const MODEL_NAME:String = "framework.model.UserMaster";
		
		public var results:Array;
		[Bindable] public var resultsAsCollection:ArrayCollection;
		[Bindable] public var criteria:UserSearchCriteria;
		
		public function UserMaster():void
		{
			results = new Array();
			resultsAsCollection = new ArrayCollection();
			criteria = new UserSearchCriteria();
		}
		
		public function toString():String
		{
			var result:String;
			
			result = "{";
			result += "criteria=" + criteria + ";";
			result += "results=" + PrintUtil.arrayAsString(results);
			result += "}";
			
			return result;
		}
	}
}